IAxis.Power method

Enables or disables the operation of an axis.

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
IKsCommand Power(
       bool enable,
       bool enablePositive,
       bool enableNegative
)
Function Power(
       enable As Boolean,
       enablePositive As Boolean,
       enableNegative As Boolean
) As IKsCommand

Parameters

enable

Type: bool

true to enable the axis, false to disable the axis.

 

enablePositive

Type: bool

true to let the axis move into the positive direction.

 

enableNegative

Type: bool

true to let the axis move into the negative direction.

Return value

Type: IKsCommand

Returns the states of power.

Remarks

It starts or stops the servo motor and prevents overtravel of an axis.

See also

IAxis Interface

IntervalZero.KINGSTAR.Base.Class Namespace